-- GENERATED SPELL FOR [Kranal Fiss] --


function spell0_5907(pUnit, Event) --@Rock Skin,n/a--
pUnit:FullCastSpellOnTarget(8314,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5907', 572, 1)
end

function Sorts_5907(pUnit, Event)
local choix_sorts_5907 = math.random(0, 0)
if choix_sorts_5907 == 0 then
pUnit:RegisterEvent('spell0_5907', 1, 1)
end
end

function mob5907_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5907', math.random(1500, 3000), 1)
end

function mob5907_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5907_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5907_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5907, 1, 'mob5907_Action')
RegisterUnitEvent(5907, 2, 'mob5907_Leave')
RegisterUnitEvent(5907, 3, 'mob5907_Kill')
RegisterUnitEvent(5907, 4, 'mob5907_Die')
